package model.technology;
import java.util.*;

public abstract class TechnologyTreeNode 
{
	String technology;
	int technologyLevel;
	int maxTechnologyLevel;
	ArrayList<TechnologyTreeNode> technologyChildren;
	
	public String getTechnology()
	{
		return technology;
	}
	
	public void setTechnology(String technology)
	{
		this.technology = technology;
	}
	
	public int getTechnologyLevel()
	{
		return technologyLevel;
	}
	
	public int getMaxTechnologyLevel()
	{
		return maxTechnologyLevel;
	}
	
	public void setMaxTechnologyLevel(int maxTechnologyLevel)
	{
		this.maxTechnologyLevel = maxTechnologyLevel;
	}
	
	public void setTechnologyLevel(int technologyLevel)
	{
		this.technologyLevel = technologyLevel;
	}
	
	public ArrayList<TechnologyTreeNode> getTechnologyChildren()
	{
		return technologyChildren;
	}
	
	public void setChildren(ArrayList<TechnologyTreeNode> technologyChildren)
	{
		this.technologyChildren = technologyChildren;
	}
	
	public void incrementTechnologyLevel(int increment)
	{
		technology += increment;
	}
	
	public void addChild(TechnologyTreeNode technologyChild)
	{
		technologyChildren.add(technologyChild);
	}
	
	public void upgradeStat()
	{
	}
	
	public String toString()
	{
		return "Technology Tree Node";
	}
}